package com.peanut.linggongwuyou.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;


@Data
public class SignRequestDTO  implements Serializable {

    private static final long serialVersionUID = -1L;
    /**--------- 以下为必填—————————————**/
    /**
     * 任务ID
     **/
    @ApiModelProperty(value = "任务ID")
    @NotNull(message = "任务ID不可为空")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long taskId;
    /**
     * 身份证号
     **/
    @NotBlank(message = "身份证号不可为空")
    private String idCard;
    @NotBlank(message = "姓名不可为空")
    private String name;

    @NotBlank(message = "银行卡号不可为空")
    private String cardNo;
    @NotBlank(message = "手机号不可为空")
    private String mobile;
    @NotBlank(message = "身份证正面照不可为空")
    private String IdCard1ImgUrl;
    @NotBlank(message = "身份证反面照不可为空")
    private String IdCard2ImgUrl;

}
